<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>AddQuestion FIT Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
</head>

<body>
<p class="style1">AddQuestion Acceptance Test </p>
<p class="style1">Question add DB checking .</p>
<p class="style1">Objects needed: Question from common package and QuestionsManager from server package. </p>
<table width="765" border="1" cellspacing="0" cellpadding="5">
  <tr>
    <td colspan="3" class="style1">fit.ActionFixture</td>
  </tr>
  <tr>
    <td class="style1">start</td>
    <td class="style1">aes.acctest.AddQuestion</td>
    <td class="style1">&nbsp;</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">questionId </td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">setNegativeQuestionId </td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">setSmallQuestionId </td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">setLargeQuestionId </td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">setCorrectQuestionId </td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">55555</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">question</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">true</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">WrongQuestion</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">true</td>
  </tr>
   <tr>
    <td class="style1">check</td>
    <td class="style1">WriteQuestion</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">2+2=?</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">answers</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">true</td>
  </tr><tr>
    <td class="style1">check</td>
    <td class="style1">WrongAnswers1</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">true</td>
  </tr><tr>
    <td class="style1">check</td>
    <td class="style1">WrongAnswers2</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">true</td>
  </tr><tr>
    <td class="style1">check</td>
    <td class="style1">WrongAnswers3</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">true</td>
  </tr><tr>
    <td class="style1">check</td>
    <td class="style1">WrongAnswers4</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">true</td>
  </tr><tr>
    <td class="style1">check</td>
    <td class="style1">WrongAnswers5</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">true</td>
  </tr><tr>
    <td class="style1">check</td>
    <td class="style1">WriteAnswers</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0 1 2 4</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">correctAnswer</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">SmallCorrectAnswer</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">LargeCorrectAnswer</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">WriteCorrectAnswer1</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">1</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">WriteCorrectAnswer2</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">2</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">WriteCorrectAnswer3</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">3</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">WriteCorrectAnswer4</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">4</td>
  </tr>
   <tr>
    <td class="style1">check</td>
    <td class="style1">teacherID</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">WrongTeacherID</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">WriteTeacherID</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">22</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">getNotExistentsubjectID</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">getExistsSubjectID</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">55</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">points</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">LargePoints</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">SmallPoints</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">0</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">CorrectPoints</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">100</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">getExistentQuestionById</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">true</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">getNotExistentQuestionById</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">true</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">saveQuestion</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">true</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">AddQuestion1</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">false</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">AddQuestion2</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">false</td>
  </tr>
   <tr>
    <td class="style1">check</td>
    <td class="style1">AddQuestion3</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">false</td>
  </tr>
   <tr>
    <td class="style1">check</td>
    <td class="style1">AddQuestion4</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">false</td>
  </tr>
   <tr>
    <td class="style1">check</td>
    <td class="style1">AddQuestion5</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">false</td>
  </tr>
   <tr>
    <td class="style1">check</td>
    <td class="style1">AddQuestion6</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">false</td>
  </tr>
   <tr>
    <td class="style1">check</td>
    <td class="style1">AddQuestion7</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">false</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">addExistentQuestion</td>
    <td class="style1" bgcolor="#cfffcf" bgcolor="#cfffcf">false</td>
  </tr>
</table>
<p><span class="style1"></span></p>
<p class="style1">AddQuestion FIT Test </p>
</body>
</html>
